// FixIPSEC.h: interface for the CFixIPSEC class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_FIXIPSEC_H__B384D00A_B7A5_4EC8_9539_40C2AEBB9792__INCLUDED_)
#define AFX_FIXIPSEC_H__B384D00A_B7A5_4EC8_9539_40C2AEBB9792__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

typedef struct  _MYIPADD
{
	union
	{
		DWORD dwIP;
		BYTE ip1[4];
	};
	
}MYIPADD, *LPMYIPADD;

class CFixIPSEC  
{
public:
	CFixIPSEC();
	virtual ~CFixIPSEC();
	BOOL	CheckExist(UINT nCount, LPCSTR* arrHostName);
	BOOL	DoRepair();
private:
	BOOL	IsPolstoreFileExist();
	BOOL	IsIPFind(LPBYTE pByte, DWORD cbLeng, MYIPADD myIP);
};

#endif // !defined(AFX_FIXIPSEC_H__B384D00A_B7A5_4EC8_9539_40C2AEBB9792__INCLUDED_)
